{% extends "generic.tpl" %}

{% block body %}

<p>This is the homepage for {{ profile.name }}.

<p>{{ profile.user.first_name }} is in the following courses:

<ul>

    {% for c, r in profile.courses %}
    <li><a href="{{ c.url }}">{{ c.title }}</a> as {{ r }}
    {% endfor %}
</ul>

<p><a href="/user/logout/">Logout</a>

{% endblock body %}
